Ticket #57 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

SIGBUS on FreeBSD/amd64 when trying to search

Reported by: yuri.pankov@… Owned by: jordi
Priority: major Version: 0.1.5
Keywords: Cc:

Description

epdfview is crashing with SIGBUS every time I press '/' (trying to search in pdf). Also happens when selected from menu or pressing F. version 0.1.5 running on FreeBSD 7.0-CURRENT/amd64.

Backtrace:

Starting program: /usr/X11R6/bin/epdfview lb_guide_v1.8.pdf warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100138] [New Thread 0x803c50400 (LWP 100138)]

Program received signal SIGBUS, Bus error. [Switching to Thread 0x803c50400 (LWP 100123)] 0x0000000000411e98 in ePDFView::FindPter::setView (this=0xa5a5a5a5a5a5a5a5, view=0x803c74ec0) at FindPter?.cxx:250 250 m_View = view; (gdb) bt full #0 0x0000000000411e98 in ePDFView::FindPter::setView (this=0xa5a5a5a5a5a5a5a5, view=0x803c74ec0) at FindPter?.cxx:250 No locals. #1 0x000000000040d065 in ePDFView::MainPter::findActivated (this=0x803c91300) at MainPter?.cxx:307 No locals. #2 0x0000000000415691 in main_window_find_cb (widget=0x803c87b30, data=0x803c91300) at MainView?.cxx:1039

pter = (class ePDFView::MainPter? *) 0x803c91300

#3 0x000000080266b75a in IAg_cclosure_marshal_VOIDVOID (closure=0x803c92b30, return_value=0x0, n_param_values=1,

param_values=0x7fffffffcf50, invocation_hint=0x7fffffffccf0, marshal_data=0x0) at gmarshal.c:77

callback = 0x415670 <main_window_find_cb> cc = (GCClosure *) 0x803c92b30 data1 = 0x803c87b30 data2 = 0x803c91300 PRETTY_FUNCTION = "IAg_cclosure_marshal_VOIDVOID"

#4 0x0000000802652d2f in IAg_closure_invoke (closure=0x803c92b30, return_value=0x0, n_param_values=1,

param_values=0x7fffffffcf50, invocation_hint=0x7fffffffccf0) at gclosure.c:490

marshal = 0x80266b6a0 <IAg_cclosure_marshal_VOIDVOID> marshal_data = 0x0 in_marshal = 0 PRETTY_FUNCTION = "IAg_closure_invoke"

#5 0x000000080266ab79 in signal_emit_unlocked_R (node=0x803d056a0, detail=0, instance=0x803c87b30, emission_return=0x0,

instance_and_params=0x7fffffffcf50) at gsignal.c:2438

tmp = (Handler *) 0x803c87b30 handler = (Handler *) 0x803d392a0 accumulator = (SignalAccumulator? *) 0x0 emission = {next = 0x0, instance = 0x803c87b30, ihint = {signal_id = 85, detail = 0, run_type = G_SIGNAL_RUN_FIRST},

state = EMISSION_RUN, chain_type = 4}

class_closure = (GClosure *) 0x803c0d200 hlist = (HandlerList? *) 0x803c92b68 handler_list = (Handler *) 0x803d392a0 return_accu = (GValue *) 0x0 accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,

v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}

signal_id = 85 max_sequential_handler_number = 497 return_value_altered = 1

#6 0x00000008026699c8 in IAg_signal_emit_valist (instance=0x803c87b30, signal_id=85, detail=0, var_args=0x7fffffffd110)

at gsignal.c:2197

instance_and_params = (GValue *) 0x7fffffffcf50 stack_values = {{g_type = 34423723280, data = {{v_int = 63470384, v_uint = 63470384, v_long = 34423208752, v_ulong = 34423208752, v_int64 = 34423208752, v_uint64 = 34423208752, v_float = 1.1783226e-36, v_double = 1.700732486398493e-313, v_pointer = 0x803c87b30}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 34422695104, data = {{v_int = 62990864, v_uint = 62990864, v_long = 34422729232, v_ulong = 34422729232, v_int64 = 34422729232, v_uint64 = 34422729232, v_float = 1.13531776e-36, v_double = 1.7007087949626437e-313, v_pointer = 0x803c12a10}, {v_int = 63243264, v_uint = 63243264, v_long = 34422981632, v_ulong = 34422981632, v_int64 = 34422981632, v_uint64 = 34422981632, v_float = 1.15795377e-36, v_double = 1.7007212651795447e-313, v_pointer = 0x803c50400}}}, {g_type = 34422981768, data = {{ v_int = 63243264, v_uint = 63243264, v_long = 34422981632, v_ulong = 34422981632, v_int64 = 34422981632, v_uint64 = 34422981632, v_float = 1.15795377e-36, v_double = 1.7007212651795447e-313, v_pointer = 0x803c50400}, { instance_and_params = (GValue *) 0x7fffffffcf50 stack_values = {{g_type = 34423723280, data = {{v_int = 63470384, v_uint = 63470384, v_long = 34423208752, v_ulong = 34423208752, v_int64 = 34423208752, v_uint64 = 34423208752, v_float = 1.1783226e-36, v_double = 1.700732486398493e-313, v_pointer = 0x803c87b30}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 34422695104, data = {{v_int = 62990864, v_uint = 62990864, v_long = 34422729232, v_ulong = 34422729232, v_int64 = 34422729232, v_uint64 = 34422729232, v_float = 1.13531776e-36, v_double = 1.7007087949626437e-313, v_pointer = 0x803c12a10}, {v_int = 63243264, v_uint = 63243264, v_long = 34422981632, v_ulong = 34422981632, v_int64 = 34422981632, v_uint64 = 34422981632, v_float = 1.15795377e-36, v_double = 1.7007212651795447e-313, v_pointer = 0x803c50400}}}, {g_type = 34422981768, data = {{ v_int = 63243264, v_uint = 63243264, v_long = 34422981632, v_ulong = 34422981632, v_int64 = 34422981632, v_uint64 = 34422981632, v_float = 1.15795377e-36, v_double = 1.7007212651795447e-313, v_pointer = 0x803c50400}, {

---Type <return> to continue, or q <return> to quit---

v_int = -12288, v_uint = 4294955008, v_long = 140737488343040, v_ulong = 140737488343040, v_int64 = 140737488343040, v_uint64 = 140737488343040, v_float = -nan(0x7fd000), v_double = 6.9533558072278965e-310, v_pointer = 0x7fffffffd000}}}, {

g_type = 34406988153, data = {{v_int = -12304, v_uint = 4294954992, v_long = 140737488343024, v_ulong = 140737488343024,

v_int64 = 140737488343024, v_uint64 = 140737488343024, v_float = -nan(0x7fcff0), v_double = 6.953355807227106e-310, v_pointer = 0x7fffffffcff0}, {v_int = 0, v_uint = 0, v_long = 34359738368, v_ulong = 34359738368, v_int64 = 34359738368, v_uint64 = 34359738368, v_float = 0, v_double = 1.6975966327722179e-313, v_pointer = 0x800000000}}}, {

g_type = 140737488343024, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,

v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 63243264, v_uint = 63243264, v_long = 34422981632, v_ulong = 34422981632, v_int64 = 34422981632, v_uint64 = 34422981632, v_float = 1.15795377e-36, v_double = 1.7007212651795447e-313, v_pointer = 0x803c50400}}}, {g_type = 66347248, data = {{v_int = 63636280, v_uint = 63636280, v_long = 34423374648, v_ulong = 34423374648, v_int64 = 34423374648, v_uint64 = 34423374648, v_float = 1.19320066e-36, v_double = 1.7007406827499313e-313, v_pointer = 0x803cb0338}, {v_int = 66347248, v_uint = 66347248, v_long = 34426085616, v_ulong = 34426085616, v_int64 = 34426085616, v_uint64 = 34426085616, v_float = 1.43632868e-36, v_double = 1.7008746223655088e-313, v_pointer = 0x803f460f0}}}, {g_type = 140737488348840,

data = {{v_int = -12256, v_uint = 4294955040, v_long = 140737488343072, v_ulong = 140737488343072, v_int64 = 140737488343072,

v_uint64 = 140737488343072, v_float = -nan(0x7fd020), v_double = 6.9533558072294775e-310, v_pointer = 0x7fffffffd020}, { v_int = 47246138, v_uint = 47246138, v_long = 34406984506, v_ulong = 34406984506, v_int64 = 34406984506, v_uint64 = 34406984506, v_float = 3.06978665e-37, v_double = 1.6999309021406653e-313, v_pointer = 0x802d0eb3a}}}, {

g_type = 34422981632, data = {{v_int = 63636280, v_uint = 63636280, v_long = 34423374648, v_ulong = 34423374648,

v_int64 = 34423374648, v_uint64 = 34423374648, v_float = 1.19320066e-36, v_double = 1.7007406827499313e-313, v_pointer = 0x803cb0338}, {v_int = -12208, v_uint = 4294955088, v_long = 140737488343120, v_ulong = 140737488343120, v_int64 = 140737488343120, v_uint64 = 140737488343120, v_float = -nan(0x7fd050), v_double = 6.953355807231849e-310, v_pointer = 0x7fffffffd050}}}, {g_type = 34367557606, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 63243264, v_uint = 63243264, v_long = 4358210560, v_ulong = 4358210560, v_int64 = 4358210560, v_uint64 = 4358210560, v_float = 1.15795377e-36, v_double = 2.1532421150385408e-314, v_pointer = 0x103c50400}}}, {g_type = 4611826769874419714, data = {{v_int = 62961408, v_uint = 62961408, v_long = 34422699776, v_ulong = 34422699776, v_int64 = 34422699776, v_uint64 = 34422699776, v_float = 1.13267605e-36, v_double = 1.7007073396428773e-313, v_pointer = 0x803c0b700}, {v_int = 20, v_uint = 20, v_long = 20, v_ulong = 20, v_int64 = 20, v_uint64 = 20, v_float = 2.80259693e-44, v_double = 9.8813129168249309e-323, v_pointer = 0x14}}}, {g_type = 140737488343168, data = {{v_int = -12080, v_uint = 4294955216, v_long = 4294955216, v_ulong = 4294955216, v_int64 = 4294955216, v_uint64 = 4294955216, v_float = -nan(0x7fd0d0), v_double = 2.1219898226522706e-314, v_pointer = 0xffffd0d0}, {v_int = 62958224, v_uint = 62958224, v_long = 34422696592, v_ulong = 34422696592, v_int64 = 34422696592, v_uint64 = 34422696592, v_float = 1.1323905e-36, v_double = 1.7007071823323756e-313, v_pointer = 0x803c0aa90}}}, {g_type = 140737488343216, data = {{v_int = -12128, v_uint = 4294955168, v_long = 140737488343200, v_ulong = 140737488343200, v_int64 = 140737488343200, v_uint64 = 140737488343200, v_float = -nan(0x7fd0a0), v_double = 6.9533558072358015e-310, v_pointer = 0x7fffffffd0a0}, { v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}}}, {g_type = 34422695120, data = {{v_int = -12080, v_uint = 4294955216, v_long = 140737488343248, v_ulong = 140737488343248, v_int64 = 140737488343248, v_uint64 = 140737488343248, v_float = -nan(0x7fd0d0), v_double = 6.953355807238173e-310, v_pointer = 0x7fffffffd0d0}, { v_int = -12096, v_uint = 4294955200, v_long = 140737488343232, v_ulong = 140737488343232, v_int64 = 140737488343232, v_uint64 = 140737488343232, v_float = -nan(0x7fd0c0), v_double = 6.9533558072373825e-310, v_pointer = 0x7fffffffd0c0}}}, {

g_type = 1, data = {{v_int = 62956752, v_uint = 62956752, v_long = 34422695120, v_ulong = 34422695120, v_int64 = 34422695120,

v_uint64 = 34422695120, v_float = 1.13225849e-36, v_double = 1.7007071096059126e-313, v_pointer = 0x803c0a4d0}, { v_int = -12496, v_uint = 4294954800, v_long = 140737488342832, v_ulong = 140737488342832, v_int64 = 140737488342832, v_uint64 = 140737488342832, v_float = -nan(0x7fcf30), v_double = 6.9533558072176199e-310, v_pointer = 0x7fffffffcf30}}}, {

g_type = 140737488343280, data = {{v_int = 0, v_uint = 0, v_long = 356482285568, v_ulong = 356482285568,

v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}}}, {g_type = 34422695120, data = {{v_int = -12080, v_uint = 4294955216, v_long = 140737488343248, v_ulong = 140737488343248, v_int64 = 140737488343248, v_uint64 = 140737488343248, v_float = -nan(0x7fd0d0), v_double = 6.953355807238173e-310, v_pointer = 0x7fffffffd0d0}, { v_int = -12096, v_uint = 4294955200, v_long = 140737488343232, v_ulong = 140737488343232, v_int64 = 140737488343232, v_uint64 = 140737488343232, v_float = -nan(0x7fd0c0), v_double = 6.9533558072373825e-310, v_pointer = 0x7fffffffd0c0}}}, {

g_type = 1, data = {{v_int = 62956752, v_uint = 62956752, v_long = 34422695120, v_ulong = 34422695120, v_int64 = 34422695120,

v_uint64 = 34422695120, v_float = 1.13225849e-36, v_double = 1.7007071096059126e-313, v_pointer = 0x803c0a4d0}, { v_int = -12496, v_uint = 4294954800, v_long = 140737488342832, v_ulong = 140737488342832, v_int64 = 140737488342832, v_uint64 = 140737488342832, v_float = -nan(0x7fcf30), v_double = 6.9533558072176199e-310, v_pointer = 0x7fffffffcf30}}}, {

g_type = 140737488343280, data = {{v_int = 0, v_uint = 0, v_long = 356482285568, v_ulong = 356482285568,

---Type <return> to continue, or q <return> to quit---

v_int64 = 356482285568, v_uint64 = 356482285568, v_float = 0, v_double = 1.761256506501176e-312, v_pointer = 0x5300000000}, {v_int = 63276032, v_uint = 63276032, v_long = 34423014400, v_ulong = 34423014400, v_int64 = 34423014400, v_uint64 = 34423014400, v_float = 1.16089251e-36, v_double = 1.700722884133853e-313, v_pointer = 0x803c58400}}}} free_me = (GValue *) 0x0 signal_return_type = 4 param_values = (GValue *) 0x7fffffffcf68 node = (SignalNode? *) 0x803d056a0 i = 0 n_params = 0 PRETTY_FUNCTION = "IAg_signal_emit_valist"

#7 0x0000000802669f9a in IAg_signal_emit (instance=0x803c87b30, signal_id=85, detail=0) at gsignal.c:2241

var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffd200, reg_save_area = 0x7fffffffd140}}

#8 0x0000000800b720e2 in _gtk_action_emit_activate (action=0x803c87b30) at gtkaction.c:1042

group = (GtkActionGroup? *) 0x803c58400

#9 0x0000000800b72e6d in closure_accel_activate (closure=0x803c0ea40, return_value=0x7fffffffd420, n_param_values=4,

param_values=0x7fffffffd6d0, invocation_hint=0x7fffffffd470, marshal_data=0x0) at gtkaction.c:1434

No locals. #10 0x0000000802652d2f in IAg_closure_invoke (closure=0x803c0ea40, return_value=0x7fffffffd420, n_param_values=4,

param_values=0x7fffffffd6d0, invocation_hint=0x7fffffffd470) at gclosure.c:490

marshal = 0x800b72e10 <closure_accel_activate> marshal_data = 0x0 in_marshal = 0 PRETTY_FUNCTION = "IAg_closure_invoke"

#11 0x000000080266ab79 in signal_emit_unlocked_R (node=0x803d05a60, detail=662, instance=0x803c53680,

emission_return=0x7fffffffd620, instance_and_params=0x7fffffffd6d0) at gsignal.c:2438

tmp = (Handler *) 0x803eaa180 handler = (Handler *) 0x803eaa180 accumulator = (SignalAccumulator? *) 0x803e84230 emission = {next = 0x7fffffffdd70, instance = 0x803c53680, ihint = {signal_id = 93, detail = 662,

run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}

class_closure = (GClosure *) 0x0 hlist = (HandlerList? *) 0x803d06788 handler_list = (Handler *) 0x803ea6410 return_accu = (GValue *) 0x7fffffffd420 accu = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,

v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}

signal_id = 93 max_sequential_handler_number = 497 return_value_altered = 0

#12 0x0000000802669a48 in IAg_signal_emit_valist (instance=0x803c53680, signal_id=93, detail=662, var_args=0x7fffffffd890)

at gsignal.c:2207

return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0,

v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}

error = (gchar *) 0x0 rtype = 20 static_scope = 0 signal_id = 93 max_sequential_handler_number = 497 return_value_altered = 0

#12 0x0000000802669a48 in IAg_signal_emit_valist (instance=0x803c53680, signal_id=93, detail=662, var_args=0x7fffffffd890)

at gsignal.c:2207

return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0,

v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}

error = (gchar *) 0x0 rtype = 20 static_scope = 0

---Type <return> to continue, or q <return> to quit---

instance_and_params = (GValue *) 0x7fffffffd6d0 stack_values = {{g_type = 34423724400, data = {{v_int = 63256192, v_uint = 63256192, v_long = 34422994560, v_ulong = 34422994560, v_int64 = 34422994560, v_uint64 = 34422994560, v_float = 1.15911319e-36, v_double = 1.7007219039076116e-313, v_pointer = 0x803c53680}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 80, data = {{v_int = 65044592, v_uint = 65044592, v_long = 34424782960, v_ulong = 34424782960, v_int64 = 34424782960, v_uint64 = 34424782960, v_float = 1.31950245e-36, v_double = 1.7008102626077139e-313, v_pointer = 0x803e08070}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 28, data = {{ v_int = 47, v_uint = 47, v_long = 47, v_ulong = 47, v_int64 = 47, v_uint64 = 47, v_float = 6.58610278e-44, v_double = 2.3221085354538588e-322, v_pointer = 0x2f}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 34423724480, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {

g_type = 140737488344912, data = {{v_int = 48966289, v_uint = 48966289, v_long = 34408704657, v_ulong = 34408704657,

v_int64 = 34408704657, v_uint64 = 34408704657, v_float = 3.45545785e-37, v_double = 1.7000158888921413e-313, v_pointer = 0x802eb2a91}, {v_int = 60817992, v_uint = 60817992, v_long = 34420556360, v_ulong = 34420556360, v_int64 = 34420556360, v_uint64 = 34420556360, v_float = 9.40447856e-37, v_double = 1.7006014408218426e-313, v_pointer = 0x803a00248}}}, {g_type = 34420555848, data = {{v_int = -10352, v_uint = 4294956944, v_long = 140737488344976, v_ulong = 140737488344976, v_int64 = 140737488344976, v_uint64 = 140737488344976, v_float = -nan(0x7fd790), v_double = 6.9533558073235476e-310, v_pointer = 0x7fffffffd790}, {v_int = 48986613, v_uint = 48986613, v_long = 34408724981, v_ulong = 34408724981, v_int64 = 34408724981, v_uint64 = 34408724981, v_float = 3.46001465e-37, v_double = 1.7000168930311599e-313, v_pointer = 0x802eb79f5}}}, {g_type = 34440282112, data = {{v_int = 60817992, v_uint = 60817992, v_long = 34420556360, v_ulong = 34420556360, v_int64 = 34420556360, v_uint64 = 34420556360, v_float = 9.40447856e-37, v_double = 1.7006014408218426e-313, v_pointer = 0x803a00248}, {v_int = 80550656, v_uint = 80550656, v_long = 34440289024, v_ulong = 34440289024, v_int64 = 34440289024, v_uint64 = 34440289024, v_float = 4.8220064e-36, v_double = 1.7015763639601755e-313, v_pointer = 0x804cd1b00}}}, {g_type = 16, data = {{ v_int = 60817472, v_uint = 60817472, v_long = 34420555840, v_ulong = 34420555840, v_int64 = 34420555840, v_uint64 = 34420555840, v_float = 9.4040122e-37, v_double = 1.700601415130429e-313, v_pointer = 0x803a00040}, { v_int = -10320, v_uint = 4294956976, v_long = 140737488345008, v_ulong = 140737488345008, v_int64 = 140737488345008, v_uint64 = 140737488345008, v_float = -nan(0x7fd7b0), v_double = 6.9533558073251286e-310, v_pointer = 0x7fffffffd7b0}}}, {

g_type = 5587024, data = {{v_int = 66205392, v_uint = 66205392, v_long = 34425943760, v_ulong = 34425943760,

v_int64 = 34425943760, v_uint64 = 34425943760, v_float = 1.4236066e-36, v_double = 1.7008676137478831e-313, v_pointer = 0x803f236d0}, {v_int = -10272, v_uint = 4294957024, v_long = 140737488345056, v_ulong = 140737488345056, v_int64 = 140737488345056, v_uint64 = 140737488345056, v_float = -nan(0x7fd7e0), v_double = 6.9533558073275001e-310, v_pointer = 0x7fffffffd7e0}}}, {g_type = 140737488345040, data = {{v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}, { v_int = -10272, v_uint = 4294957024, v_long = 140737488345056, v_ulong = 140737488345056, v_int64 = 140737488345056, v_uint64 = 140737488345056, v_float = -nan(0x7fd7e0), v_double = 6.9533558073275001e-310, v_pointer = 0x7fffffffd7e0}}}, {

g_type = 4294957056, data = {{v_int = 66205392, v_uint = 66205392, v_long = 34425943760, v_ulong = 34425943760,

v_int64 = 34425943760, v_uint64 = 34425943760, v_float = 1.4236066e-36, v_double = 1.7008676137478831e-313, v_pointer = 0x803f236d0}, {v_int = -10224, v_uint = 4294957072, v_long = 140737488345104, v_ulong = 140737488345104, v_int64 = 140737488345104, v_uint64 = 140737488345104, v_float = -nan(0x7fd810), v_double = 6.9533558073298716e-310, v_pointer = 0x7fffffffd810}}}, {g_type = 140737488345088, data = {{v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}, { v_int = -10224, v_uint = 4294957072, v_long = 140737488345104, v_ulong = 140737488345104, v_int64 = 140737488345104, v_uint64 = 140737488345104, v_float = -nan(0x7fd810), v_double = 6.9533558073298716e-310, v_pointer = 0x7fffffffd810}}}, {

g_type = 4294957104, data = {{v_int = 62956752, v_uint = 62956752, v_long = 34422695120, v_ulong = 34422695120,

v_int64 = 34422695120, v_uint64 = 34422695120, v_float = 1.13225849e-36, v_double = 1.7007071096059126e-313, v_pointer = 0x803c0a4d0}, {v_int = -10176, v_uint = 4294957120, v_long = 140737488345152, v_ulong = 140737488345152,

param_values=0x7fffffffdfe0, invocation_hint=0x7fffffffdd80, marshal_data=0x800ddf690) at gtkmarshalers.c:83

callback = 0x800ddf690 <gtk_window_key_press_event> cc = (GCClosure *) 0x803c0b740 data1 = 0x803e08070 data2 = 0x803d51f00 v_return = 32767 PRETTY_FUNCTION = "_gtk_marshal_BOOLEANBOXED"

#19 0x000000080265302e in g_type_class_meta_marshal (closure=0x803c0b740, return_value=0x7fffffffdd30, n_param_values=2,

param_values=0x7fffffffdfe0, invocation_hint=0x7fffffffdd80, marshal_data=0x190) at gclosure.c:567

class = (GTypeClass *) 0x803c57400 callback = 0x800ddf690

---Type <return> to continue, or q <return> to quit---

offset = 400

#20 0x0000000802652d2f in IAg_closure_invoke (closure=0x803c0b740, return_value=0x7fffffffdd30, n_param_values=2,

param_values=0x7fffffffdfe0, invocation_hint=0x7fffffffdd80) at gclosure.c:490

marshal = 0x802652fb0 <g_type_class_meta_marshal> marshal_data = 0x190 in_marshal = 0 PRETTY_FUNCTION = "IAg_closure_invoke"

#21 0x000000080266adbd in signal_emit_unlocked_R (node=0x803d03da0, detail=0, instance=0x803e08070,

emission_return=0x7fffffffdf30, instance_and_params=0x7fffffffdfe0) at gsignal.c:2476

accumulator = (SignalAccumulator? *) 0x803c663d0 emission = {next = 0x0, instance = 0x803e08070, ihint = {signal_id = 34, detail = 0, run_type = G_SIGNAL_RUN_LAST},

state = EMISSION_RUN, chain_type = 34424228480}

class_closure = (GClosure *) 0x803c0b740 hlist = (HandlerList? *) 0x803d61b58 handler_list = (Handler *) 0x803eaa240 return_accu = (GValue *) 0x7fffffffdd30 accu = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,

v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}

signal_id = 34 max_sequential_handler_number = 497 return_value_altered = 1

#22 0x0000000802669a48 in IAg_signal_emit_valist (instance=0x803e08070, signal_id=34, detail=0, var_args=0x7fffffffe1a0)

at gsignal.c:2207

return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0,

v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}

error = (gchar *) 0x0 rtype = 20 static_scope = 0 instance_and_params = (GValue *) 0x7fffffffdfe0 stack_values = {{g_type = 34424228480, data = {{v_int = 65044592, v_uint = 65044592, v_long = 34424782960, v_ulong = 34424782960, v_int64 = 34424782960, v_uint64 = 34424782960, v_float = 1.31950245e-36, v_double = 1.7008102626077139e-313, v_pointer = 0x803e08070}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 34423716560, data = {{ v_int = 66352272, v_uint = 66352272, v_long = 34426090640, v_ulong = 34426090640, v_int64 = 34426090640, v_uint64 = 34426090640, v_float = 1.43677925e-36, v_double = 1.7008748705840893e-313, v_pointer = 0x803f47490}, { v_int = 134217728, v_uint = 134217728, v_long = 134217728, v_ulong = 134217728, v_int64 = 134217728, v_uint64 = 134217728, v_float = 3.85185989e-34, v_double = 6.631236846766476e-316, v_pointer = 0x8000000}}}, {g_type = 34365323264, data = {{ v_int = 5585920, v_uint = 5585920, v_long = 34365324288, v_ulong = 34365324288, v_int64 = 34365324288, v_uint64 = 34365324288, v_float = 7.82754112e-39, v_double = 1.6978726138894596e-313, v_pointer = 0x800553c00}, { v_int = 5599232, v_uint = 5599232, v_long = 34365337600, v_ulong = 34365337600, v_int64 = 34365337600, v_uint64 = 34365337600, v_float = 7.8461952e-39, v_double = 1.6978732715896473e-313, v_pointer = 0x800557000}}}, {

g_type = 34365338624, data = {{v_int = 66609840, v_uint = 66609840, v_long = 34426348208, v_ulong = 34426348208,

v_int64 = 34426348208, v_uint64 = 34426348208, v_float = 1.45987875e-36, v_double = 1.7008875961341161e-313, v_pointer = 0x803f862b0}, {v_int = -6488, v_uint = 4294960808, v_long = 140737488348840, v_ulong = 140737488348840, v_int64 = 140737488348840, v_uint64 = 140737488348840, v_float = -nan(0x7fe6a8), v_double = 6.9533558075144545e-310, v_pointer = 0x7fffffffe6a8}}}, {g_type = 140737488347248, data = {{v_int = 47245845, v_uint = 47245845, v_long = 47245845, v_ulong = 47245845, v_int64 = 47245845, v_uint64 = 47245845, v_float = 3.06972096e-37, v_double = 2.3342548923240429e-316, v_float = 3.85185989e-34, v_double = 6.631236846766476e-316, v_pointer = 0x8000000}}}, {g_type = 34365323264, data = {{ v_int = 5585920, v_uint = 5585920, v_long = 34365324288, v_ulong = 34365324288, v_int64 = 34365324288, v_uint64 = 34365324288, v_float = 7.82754112e-39, v_double = 1.6978726138894596e-313, v_pointer = 0x800553c00}, { v_int = 5599232, v_uint = 5599232, v_long = 34365337600, v_ulong = 34365337600, v_int64 = 34365337600, v_uint64 = 34365337600, v_float = 7.8461952e-39, v_double = 1.6978732715896473e-313, v_pointer = 0x800557000}}}, {

g_type = 34365338624, data = {{v_int = 66609840, v_uint = 66609840, v_long = 34426348208, v_ulong = 34426348208,

v_int64 = 34426348208, v_uint64 = 34426348208, v_float = 1.45987875e-36, v_double = 1.7008875961341161e-313, v_pointer = 0x803f862b0}, {v_int = -6488, v_uint = 4294960808, v_long = 140737488348840, v_ulong = 140737488348840, v_int64 = 140737488348840, v_uint64 = 140737488348840, v_float = -nan(0x7fe6a8), v_double = 6.9533558075144545e-310, v_pointer = 0x7fffffffe6a8}}}, {g_type = 140737488347248, data = {{v_int = 47245845, v_uint = 47245845, v_long = 47245845, v_ulong = 47245845, v_int64 = 47245845, v_uint64 = 47245845, v_float = 3.06972096e-37, v_double = 2.3342548923240429e-316,

---Type <return> to continue, or q <return> to quit---

v_pointer = 0x2d0ea15}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 140737488347264, data = {{v_int = 63243264, v_uint = 63243264, v_long = 63243264, v_ulong = 63243264, v_int64 = 63243264, v_uint64 = 63243264, v_float = 1.15795377e-36, v_double = 3.1246324073268457e-316, v_pointer = 0x3c50400}, {v_int = 66205392, v_uint = 66205392, v_long = 4361172688, v_ulong = 4361172688, v_int64 = 4361172688, v_uint64 = 4361172688, v_float = 1.4236066e-36, v_double = 2.1547056007219252e-314, v_pointer = 0x103f236d0}}}, {g_type = 4294959280, data = {{v_int = 0, v_uint = 0, v_long = 4294967296, v_ulong = 4294967296, v_int64 = 4294967296, v_uint64 = 4294967296, v_float = 0, v_double = 2.1219957909652723e-314, v_pointer = 0x100000000}, {v_int = 64296544, v_uint = 64296544, v_long = 34424034912, v_ulong = 34424034912, v_int64 = 34424034912, v_uint64 = 34424034912, v_float = 1.25241519e-36, v_double = 1.7007733041258899e-313, v_pointer = 0x803d51660}}}, {g_type = 34424035104, data = {{v_int = -8000, v_uint = 4294959296, v_long = 140737488347328, v_ulong = 140737488347328, v_int64 = 140737488347328, v_uint64 = 140737488347328, v_float = -nan(0x7fe0c0), v_double = 6.9533558074397518e-310, v_pointer = 0x7fffffffe0c0}, { v_int = 40319535, v_uint = 40319535, v_long = 34400057903, v_ulong = 34400057903, v_int64 = 34400057903, v_uint64 = 34400057903, v_float = 1.69878976e-37, v_double = 1.6995886824821972e-313, v_pointer = 0x802673a2f}}}, {

g_type = 140737488347344, data = {{v_int = 0, v_uint = 0, v_long = 4294967296, v_ulong = 4294967296, v_int64 = 4294967296,

v_uint64 = 4294967296, v_float = 0, v_double = 2.1219957909652723e-314, v_pointer = 0x100000000}, {v_int = 64296544, v_uint = 64296544, v_long = 34424034912, v_ulong = 34424034912, v_int64 = 34424034912, v_uint64 = 34424034912, v_float = 1.25241519e-36, v_double = 1.7007733041258899e-313, v_pointer = 0x803d51660}}}, {g_type = 34424035104, data = {{ v_int = -7920, v_uint = 4294959376, v_long = 140737488347408, v_ulong = 140737488347408, v_int64 = 140737488347408, v_uint64 = 140737488347408, v_float = -nan(0x7fe110), v_double = 6.9533558074437043e-310, v_pointer = 0x7fffffffe110}, { v_int = 40322885, v_uint = 40322885, v_long = 34400061253, v_ulong = 34400061253, v_int64 = 34400061253, v_uint64 = 34400061253, v_float = 1.6991653e-37, v_double = 1.6995888479941886e-313, v_pointer = 0x802674745}}}, {

g_type = 4294967297, data = {{v_int = 63482656, v_uint = 63482656, v_long = 34423221024, v_ulong = 34423221024,

v_int64 = 34423221024, v_uint64 = 34423221024, v_float = 1.17942319e-36, v_double = 1.7007330927158536e-313, v_pointer = 0x803c8ab20}, {v_int = 1, v_uint = 1, v_long = 4294967297, v_ulong = 4294967297, v_int64 = 4294967297, v_uint64 = 4294967297, v_float = 1.40129846e-45, v_double = 2.121995791459338e-314, v_pointer = 0x100000001}}}, {

g_type = 34424034912, data = {{v_int = 64296736, v_uint = 64296736, v_long = 34424035104, v_ulong = 34424035104,

v_int64 = 34424035104, v_uint64 = 34424035104, v_float = 1.25243241e-36, v_double = 1.7007733136119503e-313, v_pointer = 0x803d51720}, {v_int = 64296544, v_uint = 64296544, v_long = 34424034912, v_ulong = 34424034912, v_int64 = 34424034912, v_uint64 = 34424034912, v_float = 1.25241519e-36, v_double = 1.7007733041258899e-313, v_pointer = 0x803d51660}}}, {g_type = 34423221024, data = {{v_int = 0, v_uint = 0, v_long = 4294967296, v_ulong = 4294967296, v_int64 = 4294967296, v_uint64 = 4294967296, v_float = 0, v_double = 2.1219957909652723e-314, v_pointer = 0x100000000}, {v_int = -7856, v_uint = 4294959440, v_long = 4294959440, v_ulong = 4294959440, v_int64 = 4294959440, v_uint64 = 4294959440, v_float = -nan(0x7fe150), v_double = 2.1219919095855586e-314, v_pointer = 0xffffe150}}}, {g_type = 4294967296, data = {{v_int = 64295680, v_uint = 64295680, v_long = 34424034048, v_ulong = 34424034048, v_int64 = 34424034048, v_uint64 = 34424034048, v_float = 1.2523377e-36, v_double = 1.7007732614386181e-313, v_pointer = 0x803d51300}, {v_int = -7856, v_uint = 4294959440, v_long = 140737488347472, v_ulong = 140737488347472, v_int64 = 140737488347472, v_uint64 = 140737488347472, v_float = -nan(0x7fe150), v_double = 6.9533558074468664e-310, v_pointer = 0x7fffffffe150}}}, {g_type = 4294959456, data = {

{v_int = 62956752, v_uint = 62956752, v_long = 34422695120, v_ulong = 34422695120, v_int64 = 34422695120,

v_uint64 = 34422695120, v_float = 1.13225849e-36, v_double = 1.7007071096059126e-313, v_pointer = 0x803c0a4d0}, { v_int = -7808, v_uint = 4294959488, v_long = 140737488347520, v_ulong = 140737488347520, v_int64 = 140737488347520, v_uint64 = 140737488347520, v_float = -nan(0x7fe180), v_double = 6.9533558074492379e-310, v_pointer = 0x7fffffffe180}}}, {

g_type = 34407057459, data = {{v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1,

v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}, {v_int = 62956736, v_uint = 62956736, v_long = 34422695104, v_ulong = 34422695104, v_int64 = 34422695104, v_uint64 = 34422695104, v_float = 1.13225705e-36, v_double = 1.7007071088154075e-313, v_pointer = 0x803c0a4c0}}}} free_me = (GValue *) 0x0 signal_return_type = 20 v_float = -nan(0x7fe150), v_double = 6.9533558074468664e-310, v_pointer = 0x7fffffffe150}}}, {g_type = 4294959456, data = {

{v_int = 62956752, v_uint = 62956752, v_long = 34422695120, v_ulong = 34422695120, v_int64 = 34422695120,

v_uint64 = 34422695120, v_float = 1.13225849e-36, v_double = 1.7007071096059126e-313, v_pointer = 0x803c0a4d0}, { v_int = -7808, v_uint = 4294959488, v_long = 140737488347520, v_ulong = 140737488347520, v_int64 = 140737488347520, v_uint64 = 140737488347520, v_float = -nan(0x7fe180), v_double = 6.9533558074492379e-310, v_pointer = 0x7fffffffe180}}}, {

g_type = 34407057459, data = {{v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1,

v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}, {v_int = 62956736, v_uint = 62956736, v_long = 34422695104, v_ulong = 34422695104, v_int64 = 34422695104, v_uint64 = 34422695104, v_float = 1.13225705e-36, v_double = 1.7007071088154075e-313, v_pointer = 0x803c0a4c0}}}} free_me = (GValue *) 0x0 signal_return_type = 20

---Type <return> to continue, or q <return> to quit---

param_values = (GValue *) 0x7fffffffdff8 node = (SignalNode? *) 0x803d03da0 i = 1 n_params = 1 PRETTY_FUNCTION = "IAg_signal_emit_valist"

#23 0x0000000802669f9a in IAg_signal_emit (instance=0x803e08070, signal_id=34, detail=0) at gsignal.c:2241

var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffe290, reg_save_area = 0x7fffffffe1d0}}

#24 0x0000000800dce614 in gtk_widget_event_internal (widget=0x803e08070, event=0x803f47490) at gtkwidget.c:3751

signal_num = 27 return_val = 0

#25 0x0000000800dce14d in IAgtk_widget_event (widget=0x803e08070, event=0x803f47490) at gtkwidget.c:3554

PRETTY_FUNCTION = "IAgtk_widget_event"

#26 0x0000000800c87c42 in IAgtk_propagate_event (widget=0x803e08070, event=0x803f47490) at gtkmain.c:2169

window = (GtkWidget? *) 0x803e08070 handled_event = 0 PRETTY_FUNCTION = "IAgtk_propagate_event"

#27 0x0000000800c8672d in IAgtk_main_do_event (event=0x803f47490) at gtkmain.c:1424

event_widget = (GtkWidget? *) 0x803e08070 grab_widget = (GtkWidget? *) 0x803e08070 window_group = (GtkWindowGroup? *) 0x803edf100 next_event = (GdkEvent? *) 0x0 rewritten_event = (GdkEvent? *) 0x0 tmp_list = (GList *) 0x804ca3d20 PRETTY_FUNCTION = "IAgtk_main_do_event"

#28 0x000000080105426d in gdk_event_dispatch (source=0x803c12620, callback=0, user_data=0x0) at gdkevents-x11.c:2291

display = (GdkDisplay? *) 0x803cbc000 event = (GdkEvent? *) 0x803f47490

#29 0x0000000800791049 in g_main_dispatch (context=0x803c307d0) at gmain.c:1916

dispatch = (gboolean (*)(GSource *, GSourceFunc, gpointer)) 0x8010541f0 <gdk_event_dispatch> was_in_call = 0 user_data = 0x0 callback = 0 cb_funcs = (GSourceCallbackFuncs *) 0x0 cb_data = 0x0 need_destroy = 8 source = (GSource *) 0x803c12620 depth = (gint *) 0x803c014cc i = 0 PRETTY_FUNCTION = "g_main_dispatch"

#30 0x0000000800792502 in IAg_main_context_dispatch (context=0x803c307d0) at gmain.c:2466 No locals. #31 0x0000000800792a2b in g_main_context_iterate (context=0x803c307d0, block=1, dispatch=1, self=0x803c71c40) at gmain.c:2547

max_priority = 2147483647 timeout = -1 some_ready = 1 nfds = 2 allocated_nfds = 2 fds = (GPollFD *) 0x803f39490 PRETTY_FUNCTION = "g_main_context_iterate"

#32 0x00000008007931e4 in IAg_main_loop_run (loop=0x803f39480) at gmain.c:2751

self = (GThread *) 0x803c71c40 PRETTY_FUNCTION = "IAg_main_loop_run"

#33 0x0000000800c85dfa in IAgtk_main () at gtkmain.c:1003

tmp_list = (GList *) 0x0 functions = (GList *) 0x0 init = (GtkInitFunction? *) 0x202 loop = (GMainLoop *) 0x803f39480

#34 0x000000000040755b in main (argc=2, argv=0x7fffffffe6b0) at main.cxx:67

mainPter = (class ePDFView::MainPter? *) 0x803c91300 mainView = (class ePDFView::MainView? *) 0x803d80800 optionContext = (GOptionContext *) 0x803c901f0 error = (GError *) 0x0 document = (struct ePDFView::PDFDocument *) 0x803d90eb0

Attachments

patch-src_MainPter.cxx (288 bytes) - added by yuri.pankov@… 4 years ago.
initialize FindPter? to NULL

Change History

Changed 4 years ago by yuri.pankov@…

Actually I've looked into it further, and it's not 64bit related, but related to malloc debugging in FreeBSD-CURRENT. There's a check in MainPter::findActivated to see if FindPter? is NULL, but it wasn't set to NULL anywhere and malloc debugging is initializing memory to 0xa5. So simply setting FindPter? in object constructor fixes it. Patch attached.

Changed 4 years ago by yuri.pankov@…

initialize FindPter? to NULL

Changed 4 years ago by jordi

  • status changed from new to closed
  • resolution set to fixed

Thanks, I applied your patch in commit [252].

Add/Change #57 (SIGBUS on FreeBSD/amd64 when trying to search)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.