[pacman-dev] [BUG] alpm_list_remove need an initalized pointer for void **data
Xavier
shiningxc at gmail.com
Thu Aug 7 10:07:34 EDT 2008
On Thu, Aug 7, 2008 at 3:41 PM, Dan McGee <dpmcgee at gmail.com> wrote:
>
> (gdb) p d1
> $1 = (const void *) 0x97b60f0
> (gdb) p d2
> $2 = (const void *) 0x97b60f0
> (gdb) p d1->treename
> Attempt to dereference a generic pointer.
> (gdb) p ((pmdb_t)d1)->treename
> $3 = 0x97b60f0 "\020a{\t0a{\t\220p{\t"
> (gdb) p ((pmdb_t)d2)->treename
> $4 = 0x0
>
wtf, how is that even possible?
More information about the pacman-dev
mailing list