Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
LunaVorax has quit [Ping timeout: 256 seconds]
xiangfu has joined #qi-hardware
fire_ has quit [Read error: Operation timed out]
fire_ has joined #qi-hardware
guanucoluis1 has quit [Remote host closed the connection]
fire_ has quit [Quit: WeeChat 0.3.8]
emeb has left #qi-hardware [#qi-hardware]
nikescar has quit [Read error: Connection reset by peer]
nikescar has joined #qi-hardware
fire_ has joined #qi-hardware
fire_ has quit [Client Quit]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
LunaVorax has joined #qi-hardware
LunaVorax has quit [Remote host closed the connection]
rejon has joined #qi-hardware
whitequark has quit [Read error: Connection reset by peer]
whitequark has joined #qi-hardware
Ayla has quit [Quit: dodo]
jekhor has joined #qi-hardware
viric has quit [Remote host closed the connection]
viric has joined #qi-hardware
Jurting has quit [Ping timeout: 240 seconds]
Jurting has joined #qi-hardware
lekernel has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
fire_ has joined #qi-hardware
fire_ is now known as fire
fire is now known as fire_
fire_ is now known as greyhat
jekhor has quit [Ping timeout: 248 seconds]
xiangfu has joined #qi-hardware
dandon has joined #qi-hardware
panda|x201 has joined #qi-hardware
LunaVorax has joined #qi-hardware
rejon has quit [Ping timeout: 240 seconds]
kristoffer has joined #qi-hardware
jekhor has joined #qi-hardware
LunaVorax has quit [Ping timeout: 260 seconds]
rejon has joined #qi-hardware
greyhat is now known as supercar_heaven
supercar_heaven is now known as nerd
cladamw has joined #qi-hardware
nerd has quit [Ping timeout: 240 seconds]
cladamw has quit [Quit: Ex-Chat]
nerd has joined #qi-hardware
guanucoluis1 has joined #qi-hardware
guanucoluis1 has quit [Ping timeout: 246 seconds]
guanucoluis1 has joined #qi-hardware
potomac has joined #qi-hardware
potomac has quit [Quit: Wychodzi]
LunaVorax has joined #qi-hardware
nerd has quit [Quit: WeeChat 0.3.8]
emeb has joined #qi-hardware
fire_ has joined #qi-hardware
guanucoluis1 has quit [Ping timeout: 264 seconds]
fire_ has quit [Quit: WeeChat 0.3.8]
GNUtoo-desktop has joined #qi-hardware
guanucoluis1 has joined #qi-hardware
Aylax has joined #qi-hardware
GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.]
xiangfu has quit [Quit: Leaving]
guanucoluis1 has quit [Ping timeout: 240 seconds]
Aylax has quit [Read error: Connection reset by peer]
GNUtoo-desktop has joined #qi-hardware
Aylax has joined #qi-hardware
heberth has joined #qi-hardware
LunaVorax has quit [Quit: Quitte]
LunaVorax has joined #qi-hardware
Ayla has joined #qi-hardware
guanucoluis1 has joined #qi-hardware
jekhor has quit [Ping timeout: 240 seconds]
nikescar has quit [Ping timeout: 260 seconds]
guanucoluis1 has quit [Read error: Connection reset by peer]
guanucoluis1 has joined #qi-hardware
Ayla has quit [Quit: Lost terminal]
Ayla has joined #qi-hardware
jluis has quit [Read error: Connection reset by peer]
viric_ has joined #qi-hardware
GNUtoo-desktop has quit [Ping timeout: 246 seconds]
GNUtoo-desktop has joined #qi-hardware
viric has quit [Ping timeout: 245 seconds]
rz2k has quit [Ping timeout: 245 seconds]
rz2k has joined #qi-hardware
rz2k has quit [*.net *.split]
panda|x201 has quit [*.net *.split]
rz2k has joined #qi-hardware
panda|x201 has joined #qi-hardware
guanucoluis1 has quit [Ping timeout: 246 seconds]
guanucoluis1 has joined #qi-hardware
viric_ is now known as viric
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
heberth has quit [Ping timeout: 274 seconds]
heberth has joined #qi-hardware
jekhor has joined #qi-hardware
uwe_ has quit [Ping timeout: 240 seconds]
uwe_ has joined #qi-hardware
porchao has quit [Quit: Leaving...]
viric has quit [Remote host closed the connection]
guanucoluis1 has quit [Ping timeout: 246 seconds]
viric has joined #qi-hardware
guanucoluis1 has joined #qi-hardware
DocScrutinizer05 has quit [Remote host closed the connection]
DocScrutinizer05 has joined #qi-hardware
rz2k has quit [Ping timeout: 245 seconds]
rz2k has joined #qi-hardware
kristoffer has quit [Quit: Leaving]
Aylax has quit [Ping timeout: 260 seconds]
GNUtoo-desktop has quit [Ping timeout: 264 seconds]
GNUtoo-desktop has joined #qi-hardware
GNUtoo-desktop has quit [Client Quit]
Ayla has quit [Quit: Lost terminal]
Ayla has joined #qi-hardware
heberth has quit [Ping timeout: 241 seconds]
newcup has quit [Ping timeout: 241 seconds]
pang_ is now known as pang
newcup has joined #qi-hardware
guanucoluis1 has quit [Ping timeout: 246 seconds]
pang_ has joined #qi-hardware
jekhor has quit [Ping timeout: 260 seconds]
jluis has joined #qi-hardware
cxadams_ has joined #qi-hardware
pang has quit [Ping timeout: 279 seconds]
cxadams has quit [Ping timeout: 279 seconds]
rejon_ has joined #qi-hardware
rejon has quit [Ping timeout: 256 seconds]
heberth has joined #qi-hardware
Aylax has joined #qi-hardware
Aylax has quit [Client Quit]
pang_ is now known as pang
Ayla has quit [Ping timeout: 240 seconds]
Ayla has joined #qi-hardware
jow_lapt1p has joined #qi-hardware
DocAvalanche has joined #qi-hardware
jow_laptop has quit [Ping timeout: 248 seconds]
DocScrutinizer51 has quit [Ping timeout: 248 seconds]
Ayla has quit [Ping timeout: 248 seconds]
DocAvalanche is now known as DocScrutinizer51
Ayla_ has joined #qi-hardware
DocScrutinizer51 has quit [Changing host]
DocScrutinizer51 has joined #qi-hardware
jow_laptop has joined #qi-hardware
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
lekernel_ has joined #qi-hardware
pang_ has joined #qi-hardware
jow_lapt1p has quit [Ping timeout: 246 seconds]
rejon_ has quit [Ping timeout: 246 seconds]
pang has quit [Ping timeout: 246 seconds]
lekernel has quit [Ping timeout: 246 seconds]
rejon_ has joined #qi-hardware
jluis has quit [Ping timeout: 245 seconds]
rz2k has quit [Ping timeout: 245 seconds]
rz2k has joined #qi-hardware
fire_ has joined #qi-hardware
rodgort has quit [Ping timeout: 268 seconds]
rodgort has joined #qi-hardware
jluis has joined #qi-hardware
jluis has quit [Ping timeout: 245 seconds]
woakas has quit [Ping timeout: 256 seconds]
woakas1 has joined #qi-hardware
LunaVorax has quit [Quit: Quitte]
<Ayla_>
guys
<Ayla_>
I'm losing my C
<Ayla_>
I have a structure named "Entry" on which I have a void *__p;
rodgort` has joined #qi-hardware
<Ayla_>
on a function, I have a *valid* pointer to a "struct Entry *" named e
<Ayla_>
and as soon as I do e->__ptr = something" it segfaults
<Fallenou>
a pointer to a "struct Entry *" or a pointer to a "struct Entry" ?
rodgort has quit [Ping timeout: 399 seconds]
lekernel__ has joined #qi-hardware
<Ayla_>
sorry, my mistake: a valid pointer to a "struct Entry"
<Fallenou>
so e->__ptr gives you a pointer (a void * one)
<Fallenou>
you need to make sure this one is valid :)
<Fallenou>
and that you can write in it
<Ayla_>
I'm not deferencing it
lekernel_ has quit [Ping timeout: 264 seconds]
<Fallenou>
oh right, sorry
<Fallenou>
my bad
<Ayla_>
I want to update the pointer address
<Fallenou>
yeah so that should work indeed
<Ayla_>
ah, found the issue
jluis has joined #qi-hardware
<Ayla_>
the Entry structures are initialized outside of my lib; this time they were initialized with the "const" attribute
<Ayla_>
I believe GCC puts that on a read-only data area, if such a thing exists