yes i 'm on solaris :)
i find a bad workaround which is to disable the device in hal .
On Tue, Aug 19, 2008 at 23:47, Michael Jennings <[EMAIL PROTECTED]> wrote:
> On Tuesday, 19 August 2008, at 22:04:43 (+0200),
> _doof wrote:
>
>> i find why enlightenment_fm segfault but i dont have the answer
>>
>> in e_fm_main.c, line 586
>>
>> 586 printf("++STO:\n udi: %s\n bus: %s\n drive_type: %s\n
>> model: %s\n vendor: %s\n serial: %s\n icon.drive: %s\n
>> icon.volume: %s\n\n", s->udi, s->bus, s->drive_type, "s->model",
>> s->vendor, s->serial, s->icon.drive, s->icon.volume);
>> 587 s->validated = 1;
>>
>> s->udi 0x809adb0
>> "/org/freedesktop/Hal/devices/pci_0_0/pci1043_8239_2_1/hub_4/hub_1/storage_1_if0_0/scsi_host0/disk6/sd6"
>> s->bus 0x8091780 "usb"
>> s->drive_type 0x8091750 "disk"
>> s->model 0x808fae8 "Flash HS-COMBO"
>> s->vendor 0x8091730 "Generic"
>> s->serial 0x8091710 ""
>> s->icon.drive 0x0
>> s->icon.volume 0x0
>>
>> when s->icon.drive and s->icon.volume have no value,
>> enlightenment_fm segfault , and i cant browse file when i want change
>> theme or wallpaper
>>
>> if i change value of s->icon.drive and s->icon.volume to 0x8091710
>> like s->serial, it work
>> ++STO:
>> udi:
>> /org/freedesktop/Hal/devices/pci_0_0/pci1043_8239_2_1/hub_4/hub_1/storage_1_if0_0/scsi_host0/disk6/sd6
>> bus: usb
>> drive_type: disk
>> model: Flash HS-COMBO
>> vendor: Generic
>> serial:
>> icon.drive:
>> icon.volume:
>>
>> i dont know if it can help you
>
> On Linux, using printf("%s"...) with a NULL pointer is safe. On
> Solaris, it is not. Are you by any chance running on Solaris?
>
> The programmer who wrote this code probably doesn't know any better.
> But this is why the NONULL() macro exists in LibAST:
>
> #define NONULL(x) (((char *) (x)) ? ((char *) (x)) : ((char *) ("<" #x "
> null>")))
>
> HTH,
> Michael
>
> --
> Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTED]>
> Linux Server/Cluster Admin, LBL.gov Author, Eterm (www.eterm.org)
> -----------------------------------------------------------------------
> "Perhaps someday we will discover that space and time are simpler
> than the human equation." -- Jean-Luc Picard, ST:TNG
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel