Opened 8 years ago

Closed 8 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:
Has a Patch: no 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 Changed 8 years ago by anevilyak

Owner: changed from pulkomandy to phoudoin
Status: newassigned

comment:2 Changed 8 years ago by phoudoin

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 Changed 8 years ago by phoudoin

Resolution: fixed
Status: assignedclosed

Fixed in hrev39895.

Note: See TracTickets for help on using tickets.