Opened 10 years ago

Closed 10 years ago

#6994 closed bug (fixed)

[ShowImage] crashes in BAlert::_InitObject ()

Reported by: diver Owned by: phoudoin
Priority: normal Milestone: R1
Component: Kits/Locale Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


This is hrev39880 gcc4hybrid.

File -> About ShowImage... crashes in non-default locale (French of Russian)

Thread 566 called debugger(): BAlerts must have at least one button.
[Switching to team /boot/system/apps/ShowImage (566) thread ShowImage (566)]
0xffff0112 in ?? ()
(gdb) bt
#0  0xffff0112 in ?? ()
#1  0x0079719b in debugger () from /boot/system/lib/
#2  0x0031818f in BAlert::_InitObject () from /boot/system/lib/
#3  0x00318be7 in BAlert::BAlert () from /boot/system/lib/
#4  0x0022aa43 in BAboutWindow::Show ()
#5  0x0021e489 in ShowImageApp::AboutRequested ()
#6  0x002f291a in BApplication::DispatchMessage ()
   from /boot/system/lib/
#7  0x002fd2c4 in BLooper::task_looper () from /boot/system/lib/
#8  0x002f2eb4 in BApplication::Run () from /boot/system/lib/
#9  0x0021e995 in main ()

See also #6779.

Change History (3)

comment:1 by anevilyak, 10 years ago

Owner: changed from pulkomandy to phoudoin
Status: newassigned

comment:2 by phoudoin, 10 years ago

I guess it means that contrary what is assumed, locale backend's GetString(string, context) don't returns string when no translation is found but NULL. I'm investigating...

comment:3 by phoudoin, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev39895.

Note: See TracTickets for help on using tickets.